package com.rand;

import java.util.Random;

public class math2Random {

	static void print() {
		double rand = Math.random();
		System.out.println(rand);
		Random rand2 = new Random();
		double ra = rand2.nextDouble();
		System.out.print(ra);
	}

	static void print2(){
		for(int i=0;i<100;i++){
			System.out.println(Math.random());
		}
		
	}
	
	static void print3(){
		for(int i=0;i<10;i++){
			System.out.println((new Random()).nextDouble());
		}
	}
	
	public static void main(String[] args) {
		print3();
	}
}
